"template" should probably be "prototype"?