Then you need to add declaration of your classes to phalcon.c.

The name is lowercased class name with \ replaced with _ and _ce (class entry) appended.

Thus, if the class name is Phalcon\Utils\Slug, the class entry name will be phalcon_utils_slug_ce.