Removed unused pamac code