Handle wrapping global functions