Regenerates code using new namespace