My problem was URDF not being able to do some stuff SDF can. But I wasn't aware of the <gazebo> tags at the time. Using them, I was able to do what I wanted and no need of SDF has come up after that.