Big refactoring in Placement classes. And other things.