Add ability to perform type conversion on return types.