Shared cleanup

Add some documentation and remove comment left over from export of functions to Shared.