Add support for noprealloc