[Olena-patches] 1032: Adjust samples to the new interface of Static.