Make functions take commitSet if Core unneeded
Remove duplicate commitById functions & remove Maybe