labelProperty has been renamed into labelAttr