Tidy up settings imports in the in-handler