refactor(differ): Update differ methods to implement proper middleware signature.