CustomEvent like in spec.