Avoid php warnings.