Improve internal documentation.

Change-Id: Idff981db81ad4ba2aaa80e9dd3d45b872f9512cf