Changing endpoint class name