Move template element to separate schema file.