Change Register class to Server in the examples.