Made attach range configurable.