Modifications to allow migrating from one document handler to one another and keeping config files. Every plugin has to declare the file names that it uses.