Added assertions for namespace