Upgrade version.
Refactor stub to utilise a function factory.