Add support for new registration method.