Replaced code generator with variadic templates.