Converting Setting to v5: line 1054