added a way to create namespace using magic