Registered all the commands.