Add support for rewriters.