Removed app engine specific code