Add support for PHP Trait.