Support return values of Python functions