Function maintenance and cleaning