Tried to construct a type aware Observable[OnEvent] via flatMap.