[Olena-patches] 890: Introduce 'prepare' to initialize image structures.