Fixes to rdoc

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>