Add namespaces; use new Restraint constructor.