Work with dynamic memory.