You can also enter a very similar command to disable these warnings on a per file type basis. For example, Lion (and Snow Leopard) falsely claim that WMV format movies are applications. Alas, I don't remember the exact syntax anymore.
Well, in my case Lion think that every file downloaded from internet or received via email is an application and displays those warnings every time, that's why I had to disable them altogether.