Rtdl support

This is to closeout #3.