Changed photo to trait for simplified usage in entities