remove rewrite handling (now part of interface)