NOREF: Removing unneccessary content and template merge