Remove "unsafe" to be compatible with App Engine