Handle custom_fields and associated association tables.