Added API to retrieve a list of all registered choices. See #1170