Rename middleware options hook from .used to .configure. Closes #3