Add methods stream:get/set_direction().