Must allocate some memory for structs

See #3