Update the function signatures of the Python instrument export.

Refs #9133