Added endwise plugin for closing blocks