Added Register class