Add mysqli annotations

Fixes issue #250