Parse namespace declarations