removed template docs and comments etc