Added internal documentation.