Would be better check a given element for div, span otherwise calling super