Remove unneeded class dependence
Better approach to examples
Re-run roxygen
Fix trailing whitespace and incomplete final lines