Remove dependency on doctrine inflector