#74 use singularize model name as type