Removing templates