removing references to 'allocations' which has been moved away from
remove commented out legacy code