Clean up namespace in tables.py.