I think we should move this file to the scalagen/actor package