Revert "API change for app instances."

This reverts commit e0aaa313a17028e57c6029b884f074366356c13f.