Make suggested changes to Element.java

Signed-off-by: Mike Glorioso <mike.glorioso@gmail.com>