Fix a couple of PHP 5.4 strict warnings.