Add basic docstrings to sprite module.