Fixing some security issues.