Update docstring formatting.
Fix missing import.