Add some functions to support using stable app key.