Moving child template into master template