Cleaned up FoxxController#activateSessions.