include opts object param in doc comment