Diff module added with minor changes.