Added documentation, rough draft.