Finish refactoring: delete cell.py and fix docstrings.