Add EventType{BEFORE_ELEMENT, AFTER_ELEMENT} to the observer and observable interfaces