allow a package hierarchy in dynamically imported classes