For messing about with Polycode templates