generatePlayerRPClasses();
RPObject object = new RPObject();
object.put("name", name);
final Player pl = (Player) new PlayerTransformer().transform(object);
Iterator<RPEvent> eventsIterator = pl.eventsIterator();
while(eventsIterator.hasNext()) {
eventsIterator.next();
eventsIterator.remove();
}