Removed the use of anonymous functions from Settings