Added accepted_locales option.