semantic: Add retrieveObject function to lookup.