sorry, they are also called for the AliasPackage class and from the type-hinting there $aliasof is of PackageInterface