Second commit.
Some small fixes.
Better docs.