Added support of class Span in A.in_range()