Remove unused function
Remove duplicate definition of IN?
Update all uses of %OBJECT with string keys