Extend telephone class with country codes in different formats.