Currently dds cannot deal with static functions defined in classes, even though they behave mostly like regular functions. They should be handled like regular functions, if possible without having to depend on the whole class.