Added Trim to Public API