Add usage to doc and a bunch of TODOs.