Changed code for getting parser class name.