Fixed documentation. Cannot use \code{param.name} in documentation, R thinks there is no match.