Improve generated PHP classes PSR-0 compliance