Fix deprecated syntax in README

Fixes #48