Remove type attribute from code example in README

These attributes are no longer needed, so we may as well leave them out.