`inflector` should be `Inflector`.