Added rest component class