Added commenting / docs.