Fixed ClassCastException due to binaryRequest.