added cleanup method to unexport pins