Allow admin and document classes to be set in config.
Allow null classes to be interpreted as defaults in config
Fixes