fix bug requiring manual library(methods); doc update