[Olena-patches] 1890: Clean and comment code.