null protection around Element.getValue() default method.