Added functionality to process most of span level elements.

Function `process_span_forms` will process any span level elements.