Adding REST capabilities