x0d: put x0d API into x0d namespace, cleaning up x0 namespace.