Added view_raw functionality