Fixed lookup assignments by name.