Made element type a static method