Added image hooks.