expose some mode related methods