Rewrite userphrase enumerate APIs