refactoring to latest interface changes

The interface lost the prependRewriteArrays method which is not needed anymore.
Changed the class to reflect those interface changes.