GSL-based code generation for extension classes and references.