DRY approach to editable models