Add method to get an option by name to menu class