Updated the internals doc.