fixed namespaces and minor bugs in the inline docs