ScalaDocs for DynamicConfig and a few encapsulation and optimization
tweaks.