Add support for registering in new format

Comment doesn't match function name.