Fix 'Cannot call abstract method'.