Added set_static_roots to replace get_static_roots