Add a simple deleter and a function to get object from a specific MOC