Fixing a inheritance issue.