Make sure inherited functions get bound correctly.