Base element class.