2.6.7:

* Fix the build when using --enable-deprecated-api=no.
* Make some more private methods static, to slightly reduce 
  code size.
  (Murray Cumming)