Changes to the identity manager API's to better support advanced use cases