Moved comment to docstring, fixed imports.