Added a couple of decorators that handle transforming of return values.