Added owns_event filter to event_data and removed unneeded stuff from the
documents controller.