Update some metadata.
Include generated types rather than aliasing them.
Add params to connect function.