Adding settings parameter.