Add an option help formatter.

Add lots of API docs.