Add ContextWriter type to make it work with io library.