Split the bitwise functions into their own module.