Change to process weighted vars properly.