Moved client side settings into a couple helper functions that can be set easier from outside the library.