Try for a more DRY solution to model classes.

This also means that we can have instance fields in the model classes
which are not automatically provided in the hash resulting from to_liquid.