Updated command modules to use the new async api.