Implemented some menu options to facilitate testing.