Added configuration to enable/disable messages fix.
Updated code with ignores for Inspection. In PhpStorm you need to add Magento 1.9 as an external library, otherwise you will get lots of inspection errors.