@MarkMLl. This would be too slow for my purposes, since each object needs a create call. I need to allocate many of such records into pages, and access them via pointers.
EDIT: Also, I don't need any methods/functions attached to these records. Just plain data.