Fix: computation print functions correctly handles null pointers.