Cleanup ops

Resolves https://github.com/codio/client/issues/2496