provide model class for symfony <2.3