Added feather parameter to trim()