Added support for NURBS curves