A temporary fix for nil class name crashing.