https://github.com/protostuff/protostuff/pull/44: refactoring