New interfaced class that can wrap an object and automatically free it when the wrapper class goes out of scope.