Wrap worker methods into promises