Added optimization for 'inPlace' assignments.