Converted several properties to protected for better extensibility and enhanced code quality with type hints and nullable returns. Removed deprecated constants, response formats, and unused API methods to simplify the codebase.
Fixed a bug with the X-Response-Format header letter case.