Move template action to be last performed in method