You should use a closure in the ``setDefaultSettings`` method