The semi-related PR #128 would probably solve this to some extent.
—Reply to this email directly or view it on GitHub.