Adds initial cleanup code.