Added hooks for config