Fixed a namespace issue.
Updated readme to reflect the new API.