Use more robust implementations for pubinfo.