Trigger model.fn when a dependency's parent is set