Register commands properly