Added flood protection.