Wrapped calls to Sign and Mage with traceStartTask and traceEndTask