I would imagine you can implement them as objects with an X and Y location on the map. I'm not sure if the raycaster works with Z offsets, but if it does you could probably set their Z offset relative to their distance from you, so that they appear behind walls properly, etc, only rendering those within your point of view, of course. I'm not sure how you'd handle pathfinding/clipping/AI, though.