Added cast to smallstep-semantic, smallstep-semantic is complete.