Add line removal and some other features.