Tidy up librdf type registration.