Replace all function arguments with delegates so they work when cross-targeting to portable profile