Added cleaning methods for the model to strip wrapping whitespace