Added additional destruction methods to object factory.