Adding resolve class name by model