Update README to avoid subclassing Struct

Subclassing Struct unnecessarily introduces an anonymous class.