Set namespace of class