Tag.py, built and refactored.