Allowing for putting settings in the constructor