hoa:// support stream_cast definition.