Extending werkzeug.contrib.cache to use decorators to cache function output.