Image {pre,post}setup hooks
Indentation fix