When trying to reference to an appendix using autoref using the following code:
\documentclass[10pt,a4paper]{article}
\usepackage[titletoc]{appendix}
\usepackage{hyperref}
\begin{document}
\section{Title of Section}
See \autoref{sec:appendix}.
\begin{appendices}
\section{Title of Appendix}
\label{appendix}
Contents of Appendix.
\end{appendices}
\end{document}
The reference is not found, as shown here:

What am I doing wrong?