Avoid raising exception for singleton classes of unknown objects.