Added documentation, now off to bed.