Fixed readme examples

Syntax for the readme examples was incorrect.