Added rank and value attributes.