End Trimming

This was added in 1.7