Better inflector.
Added tests for FlexibleEntity.