Use ENABLE_SPAN only if it exists