Add back canon middleware