Clean up docstrings for rect module.