Added tables to RankCommand and RelationCommand