Use new APIs introduced in libchewing 0.4