Cleanup on stack frame functions.