semantic: Don't cast class allocs to pointers.