Initial support for typelib generation.

10 files changed