Replace BeanContext::class with class name for PHP 5.4 compatibility