Allocate & free memory.
Documentation.