Add more documentation and miter join.