Move template to namespace itself