Added config logic.