Fix invalid syntax in documentation sample code.