fix doc and typedefs