Add bitmasks.