Separate ParsePrerequisites. 
Easier to test on its own.