Initial support for resume function.