Migrate from Maintenance windows API to Settings API