If no public methods are present no .mod file is generated
Removed most type lookup related code, since it is basically unimplementable