Prepare for different arenas.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>