Modify libphotoindex metatable.