added safeString decorator