svg: make getSpecByName() method protected