Added NamedEvents example.