Add method doc, remove spurious print statements.