Richtext: dependencies cleanup