Now raises an error if the confi passed into initialization is nil.