Added rewrite module.