Fixed the `E_DEPRECATED` warning