Made the functions related to registering and unregistering,
respectively, of the external options to take arrays of
identifiers.Modified the unit test accordingly.