add caching of locate, delete statements for a class