Fixed RDF bug, and updated pn-sync for refactoring.