Added all method to option class