Cleaning up Boolean stuff.