remove legacy charwrite interface as well