Use endwise to automatically add the `end` keyword