Updating worker implementations to be simpler and comply with new emd library.