Regenerate common types.
Add service dynamic discovery support.
Fix sub env support.