Log missing classes instead of throwing an exception.