Fix getAttributes() method name in README