Cleaner locale implementation.