Clean the dispose example code