Removed trim() on non-string object.