Change prepare to prealloc and make it a value rather than boolean
config.