documented functions
let roxygen2 handle the namespace file
fixes some warnings