Doc and clean up.