Configurable code generation task