Added hook events for the main item action.