Added idToDependences hashmap creation function