Use attname to allow differentiation of column and accessor.
Declare all fields automatically using contribute_to_class rather than require individual specifications of appropriate fields.