remove enum ImagePart.