Refactor Wechat SDK.