Size should be a uint instead of size_t for now.