Refactor Pack to inherit from Plugin