Upgrade to codegenerator 0.3.0 - fix calls to protected methods