Adding REST classes