Move setting field into correct hook.