Remove explicit fields/0 and fields/1 functions and use attributes instead.
Support for version number in models