Add the managed_pkg/1 primitive.