Fix a bunch of problem with the new module_from_key().