Updated spreadNamespace procedure with basic implementation.