Mode ordering in the relation, add ability to have restricted theme