Add support for Any as return type