removed unnecessary TypeRefResolver