See @vasiliyk comment on the main commit.