Minor fix of locale. Now, Object factory isn't a singleton.