Rewrote the gem. Inspired by ActiveSupport::Inflector.