Trait simulation for PHP 5.3