Extended code generator for interfaces