Fixes issue where packages were not loaded