add load_dependency helper