Include common middleware in repo