Fix private message support.
Allow functions to register multiple commands.