[BEP-863] Add variant attributes support.