Documentation.
Fix .sample to return a string when sampling a string.