Added the function GetModuleTypeName, and inlined some functions for speed.

No match.