Removed BitString class because it's not needed