Wrap functions like candies.