Final touches to make vector exprs work. Only change kernel params when flags require it.