Removing unneeded default configuration classes.