Adding add_to_init and add_variant_func methods to backends.
* Prevents need to check the current backend to perform actions, let the backends handle this themselves.