Allow shared expressions to be reset to null