remove Trait to make library PHP 5.3 compatible