Fix nil class erorr when no registrations active