Fixed typo in ReplayModule and fixed headers in templates