allow a block to customise the template when it is a parameter to the put method