Added dependencies for partial rewrite