Adding code tables for custom fields