Moving EventSource prototype functions to AggregateEventSource. Fixing up slot machine.