add support for NSMutableString models, refactoring.