Add the session class and the locale class.