Make all defined types available while parsing modules

Fixes #109