setAliases should not be part of the base PackageInterface IMO, which is mostly about getters