Support the dynamic memory allocation for S-expressions