Deleting listInstances method