Fixed example and now using Roxygen 4 types.