Removed duplicate object allocations