Put alloc & init together.