Fix for PHP strict standards