Added "as" support for casting jBinary instance to given typeSet.