Started replacing hard coded accept methods with a template.