Writing docs. fixes #14.