def METHOD_NAME(self, struct, members, table, indent=''):
    expr = indent + 'void UnwrapStructObjects({}* value, '\
        'HandleUnwrapMemory* unwrap_memory)\n'.format(struct)
    # Begin function body
    expr += indent + '{\n'
    indent = self.increment_indent(indent)
    expr += indent + 'if (value != nullptr)\n'
    expr += indent + '{\n'
    indent = self.increment_indent(indent)
    for member in members:
        if self.is_class(member):
            # If it is an array or pointer, map with the utility function.
            if member.is_array:
                if member.is_dynamic:
                    expr += indent + 'value->{name} = UnwrapObjects<{}>(value->{name}, value->{}, unwrap_memory);\n'.format(
                        member.base_type,
                        member.array_length,
                        name=member.name
                    )
                else:
                    expr += indent + 'std::transform(value->{name}, value->{name} + value->{}, value->{name}, GetWrappedObject<{}>);\n'.format(
                        member.array_length,
                        member.base_type,
                        name=member.name
                    )
            else:
                expr += indent + 'value->{name} = GetWrappedObject<{}>(value->{name});\n'.format(
                    member.base_type, name=member.name
                )
        else:
            # This is a struct that includes handles.
            if member.is_array:
                expr += indent + 'value->{name} = UnwrapStructArrayObjects(value->{name}, value->{}, unwrap_memory);\n'.format(
                    member.array_length, name=member.name
                )
            elif member.is_pointer:
                expr += indent + 'value->{name} = UnwrapStructPtrObjects(value->{name}, unwrap_memory);\n'.format(
                    name=member.name
                )
            else:
                expr += indent + 'UnwrapStructObjects(&value->{}, unwrap_memory);\n'.format(
                    member.name
                )
    indent = self.decrement_indent(indent)
    expr += indent + '}\n'
    # End method body
    indent = self.decrement_indent(indent)
    expr += indent + '}\n'
    write(expr, file=self.outFile)