Add support for anchor joint in object factory.