Essentially the same as create class