Refactor Configure ctor