to: namespace and container are optional