ENHANCEMENT declare $db, $has_one and $field_labels as private members.