Add support for named registrations.