Thank you David. It helped to load the class by require_once(). I got also another solution from a colleague, who suggested to generate autoload file using extdeveval extension, which helped as well.