App engine specific optimizations