public function offsetSet($offset, $field) {

    if (!is_a($field, 'PodioAppField')) {
      throw new PodioDataIntegrityError("Objects in PodioAppFieldCollection must be of class PodioAppField");
    }

    parent::offsetSet($offset, $field);
  }