A function previous believed to be local was being used by the perl API. It was made static in commit 57345149 This is a partial reversion of that commit.