First implementation of Mark's bit string stuff.