Sizing or water-repelling agents