Complete description of functions and cleanup