Updated documentation of Config.
Updated documentation of Hooks.