Add a new define and a new template