Put everything in a .h file for templates