Fixed holding expression terminals by reference.