Removed **kwargs argument in custom_register(); fixes #101