Add helpers for value handling.
Make bitmaps equality-comparable.