Trim implemented on server side.