added bitflags implementation
removed no_shift method on bitflags! because that was weird.