Cleaned up some unessacery spaces in the template syntax.