Str has moved under Type - fix docs and example