I forgot to make the Retrieve function static, the CallFunction template now works and can get return values