Create a separate .random() method in Emitter.