resolved issues with exceptions deserializing the scope
addressed potential race condition
ScalaDoc update