Simple metaprogramming with decorators