Fixed incorrect hook function name.