Option to use ctypes