Removal of adminmedia usage in templates