Generalize protocol for images.
Generalize protocol.