move peer operations out of jade