Added namespace to model generator