Fix fatal error with calling wrong class name.