Re-generate code