* changes: Move KeyCharacterMap from RefBase to shared_ptr. Move KeyLayoutMap from RefBase to shared_ptr.