REF: use constants instead of string for family attribute.