Added default session_type=None to instrument_execute.