Updated to work with new event APIs. Added batch operation.