Updated old names.
Updated roxygen docs.
Updated example to wrok around roxygen bug.
Fixed roxygen @export typos.
Reroxygenised.