Pass class name through with attributes