Added visibility field to events table.