Add get_mode to quota system