Fixed missing static specifier in code generator