Added the ability to pass in a configuration object