Added functionality to remove css properly.