Service: Rename getClazz to getType