Some security fixes.