Add cp/ct documentation, also some other docs fixes.