Fixed null buffer in model package.