Move functions from RichPiece/Notation to PieceOps