Proto pickle and toString with virtual methods.