Add marlin2 specific templates and converters