Rspec added. Events API.