Documentation + some improved checks on ObjectRef<>.