Make it compatible on google AppEngine