Improves bitwise functions