case 4018 - WAYF hooks implementation.