Removed dependency to bitstring