Added param support for limiting returned events