Refactor OperationResult interface.