Adding fields to domain classes