Fixed codesmell and phpdocs.
Cleaned HTMLResponse