Added setBitsPerValue to subclasses.