Python Decorator Classes and Functions