REFACTOR: Factor out configuration definition.