Throwing UnresolvedClassException if interfaces weren't fully resolved.