Use codeq as a library instead of shelling out.