Add XSmarty to X.