see the comment about bundling realm issues (the PR's changed since first pushed)