Added possibility to switch between two spec parser implementations