Make element constructor classy