Fixes Undefined property: FOS\ElasticaBundle\Client::