Add bit shifting magic methods.