Add support for thread parent retrieval. Fixes #17.
1.4.0