Helper library for code generation.