Added new utils for batch registration.