Added internal documentation