Prior to removing template