Modified version, which doesn't re-load the package from disk on each encounter.