Raise rejection reason from Promise#sync
Clean up dead code