Don't assign strategy in middleware. Closes #221