extensions to static.py