Deduplicated code with extended_fields