Improve debugging output on sharing class.