Added: Trim functions.