Add object initialization checks for sqlite3 classes
Fix SPL objects initialization checks