Initial support for delegates on ctypes