Rename registerClazz to registerClass