Added has_rank property.