Replaced template.h with template.cpp. This was because GitHub believed that template.h was an Objective-C file, which would be an atrocity.