Are you sure that we need to set "Access modifier" to Public? I am using with no code generation for all languages except neutral and it is working ok :)