Revert removing getModel method as packages can't be deleted