The internal vs external module type checking should also be configurable.