Update code gen template to match toString changes in `MessagePart`
Formatting changes, debug statement removal, and javadoc for
`TwitterFunctionProvider`.