doc updates
doc fixes and added WeakRef