Refactor an actual ops type to share in sync module. Only used for sync/comment for now