Make data structures operate with void pointers