added workaround for param pack expansion in function types