Refresh hooks now receive the current project or the project list as argument