Changed \link to \linkS4class when necessary