I just remembered Python's decorator functionality