Added support for physics primitives