Fixed event functionality

Changed getId to getId(), etc.