If the code is not adding value to the document, delete it. I am not saying 'delete boilerplate', I am stating that these kinds of boilerplate/templating lines of code are unnecessary once you starting building new things.