Change function index of calling invocation.

Closes #104.