Removed some unsafe pointers that should compile OK as safe.

Doesn't compile due to bugs 14251 and 14249