How to add a mesh to a spline without deforming it?

For example when want to add some trafficlights i dont want them to bend around