Added support for getting modifier bits.