def METHOD_NAME(registerable, viewset=None):
    if DEFER_REGISTRATION:
        # Models may not have been fully loaded yet, so defer registration until they are -
        # add it to the list of registrations to be processed by register_deferred_snippets
        DEFERRED_REGISTRATIONS.append((registerable, viewset))
    else:
        _register_snippet_immediately(registerable, viewset)
    return registerable