I thought this would be quick job on a single file, but no, hinting had to be done on all the corresponding methods in the handlers too...it all got out of hand but it is now 98% done, bar those with doubts, and is working in my branch:
https://github.com/torvista/dbio/tree/IDE_hints