Refactor the DokanOperation implementation.