Add associationf or detail type