Fixed type resolving in settings.