Disabled events.
Changed from auto to manual joinRefs. Changed RebuildDatabase to
CreateDatabase.