Enum provider, macro base singleton class registrations