Fixes PHP strict notices