Changed binary string handling.