--- a/NAMESPACE
+++ b/NAMESPACE
@@ -1,12 +1,27 @@
+if(tools:::.OStype() == "windows") {
+importFrom(utils,readRegistry)
+}
+importFrom(coda,as.mcmc.list)
+importFrom(coda,as.mcmc)
+importFrom(coda,spectrum0)
 importFrom(stats,variable.names)
 export ( 
   jags.model,
   jags.samples,
   coda.samples,
-  jags.module
+  jags.module,
+  dic.samples,
+  diffdic
 )
-S3method(print,jags)
-S3method(coef,jags)
-S3method(update,jags)
-S3method(variable.names,jags)
-S3method(print,mcarray)
+S3method(print, jags)
+S3method(coef, jags)
+S3method(update, jags)
+S3method(variable.names, jags)
+S3method(print, mcarray)
+S3method(summary, mcarray)
+S3method(print, summary.mcarray)
+S3method(as.mcmc.list, mcarray)
+S3method("-", dic)
+S3method(print, dic)
+S3method(as.mcmc, dic)
+S3method(print, diffdic)