. Remove strip_endslash() by boiling it down to one line and putting that line where the function call used to be.