Refactor multifetch to use a builder, fixes#369