Tried to create instance of an old class