Refactoring, Hanzi font declaration, and registration improvments.