Fix some more porting errors in alignment code

s/remove/delete/ on hash objects.