Fixes 2 SensioLabs Insight warnings