@classmethod<EOL><INDENT>def fields(cls, writable=False):<DEDENT>
<EOL>return cls._writable_fields if writable else cls._fields<EOL>
Returns an `OrderedDict` of the model's fields (from name to `Field` instance).
If `writable` is true, only writable fields are included.
Callers should not modify the dictionary.