Added support for related reports. Fixes #17.