Added wire function and updated documentation