Merge "Get func.__class__.__name__ if no attribute __name__"