Removing PHP warnings.