Added bookkeeping of extract value from safepointer struct when function implementations are moved to new signature.