Create a keyword using the newalg package and algkey

I'm using the newalg package to typeset some algorithms, and I'd like to be able to typeset a keyword using the algkey macro. the problem is that I can't get it to work. Here's what I'm trying to do:

\begin{algorithm}{PromoteServer}{x}
servers \= \CALL{GetMeshServers}(x) \\
\begin{FOR}{\EACH M_n \IN servers}
\begin{IF}{n \eq \algkey{sizeof}(servers)}
\ELSE
\end{IF}
\CALL{AssignCachePartner}(M_{n+1})
\end{FOR}
\end{algorithm}

Where am I going wrong? The documentation for the package doesn't give any examples....

-
Seems odd to me to accept the answer but not to also up-vote it. – vanden Sep 16 '10 at 16:34