added Streamable support for RES