Remove some allocations