Add module types as documented in #3