Remove old style C-casting.