Fix issues with overriding methods.