Remove no-longer-needed get_namespace function