Added getAllOptions() method