Move a function to a higher scope.

Auditors: pl