Changed use of ns to xs, to avoid conflicting with the namespace macro. Not really necessary, but makes my syntax-highlighting more happy.