Improved ObjectTypes and TileTypes to not give contract warnings anymore.