Merge pull request #2 from justinsb/lazy_init_type_discovery

Lazy-init types & packages