Modifies the argument of init() so that the package id can be resolved by the given context object.