diff --git a/.gitignore b/.gitignore
index 32d1d4da6..e1620feb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,8 @@ examples/CoreWeb/assets/lib
# Runtime test files
[Uu]ploads
*.db
+*.db-shm
+*.db-wal
templates/**/wwwroot/uploads
templates/**/*.db
diff --git a/core/Piranha/Runtime/AppMethod.cs b/core/Piranha/Runtime/AppMethod.cs
index b5147a0e4..ed3cb22df 100644
--- a/core/Piranha/Runtime/AppMethod.cs
+++ b/core/Piranha/Runtime/AppMethod.cs
@@ -39,7 +39,7 @@ public sealed class AppMethod
/// The object instance
/// The current service scope
/// An async taks
- public Task InvokeAsync(object instance, IServiceScope scope)
+ public async Task InvokeAsync(object instance, IServiceScope scope)
{
var param = new List