Added curation polling and publication handling code.