Added missing registration of checkconfig hook.