Removed events code.