Added support for registering an array of wishes at once.