Fixed public attributes in entities breaking lazy loading