Added function amitgroup.span.