Cleanup circlefunctions.