Fix class resolution issue.