Add a method to get the mode.