/** @type {goog.events.EventId.}
var myEventId = new goog.events.EventId(
goog.events.getUniqueId(('someEvent'));
// No need to cast or declare here since the compiler knows the correct
// type of 'evt' (MyEventObj).
something.listen(myEventId, function(evt) {});