Removed is_example field and made attachment its own model.