Change the way to extend join_dependency