Added Command support and AlertDialogs.