The company also plans to sell its consumer brands.