I think it could make the code cleaner if we separate the replacement areas that replace tiles from the replacement areas that replace objects. Maybe renaming the existing ```type="replace"``` areas into ```type="replaceTiles"``` and introducing ```type="replaceObjects"``` for these new types of object replacements?