Remove export of Element class

Not needed in the public interface