removed global dependencies on element class

different parts have different views of what en element is