refactor: cleanup worker method typing