Use inflector instead of doctrine common