Fixed compiler warning
WIP: adding process-context functions