More work on PLinearLS.