Using properties of Menu in Flask.