The code now follows the PSR-2 coding style.