Fix class lookup error.