Issue #289 (lock span type)