Add hook for triggering actions upon distinguish.