Add-on to Id generation, performance tuning (insert 10000 events) and
proxy (Oops, forgot to checkin two new classes...)