Merge "Put all allocation functions into dispatch table."