Added comments to and cleaned up OperationCompact