Config hooks.