Updating for deprecation of to_binary in Dynamo.Connection.Behaviour.