Add service trait for PHP 5.4