Extend rest definition