Adds clearTemplate() method

Sometimes you need to just clear one template, instead of refreshing everything.