Incompatibility between memoir and appendix package option titletoc

I'm trying to get "Appendix A" instead of just "A" for my appendix in the table of contents, and one solution to this seems to be \usepackage[titletox]{appendix}. However, it doesn't work with memoir. The following code gives the error "LaTeX Error: Option clash for package appendix":

\documentclass{memoir}
\usepackage[titletoc]{appendix}
\begin{document}
Text
\end{document}


How can I solve it?

It works if I remove the [titletoc] argument or change document class to article.

• Appendix is already included in memoir so you cannot use it with the class. I don't quite understand what that option should do. May 28 '13 at 14:11
• @daleif It changes "A" in the TOC to "Appendix A". May 28 '13 at 14:18
• In memoir that is just \renewcommand\cftappendixname{\appendixname} May 28 '13 at 14:35
• @daleif Thanks. It seems to give "AppendixA" instead, though. May 28 '13 at 14:41
• Sorry, \renewcommand\cftappendixname{\appendixname~}, see the memoir manual May 28 '13 at 14:49

The memoir way is to add
\renewcommand\cftappendixname{\appendixname~}