FOSUserBundle routines.