Add an indexer hack to record some constructor calls.

The hack associates a constructor call with the right parenthesis, but only
if there are parentheses.  If there aren't parentheses, then the call is
not recorded.