Renamed Element.element to Element.tag

Also made some small changes.