Parser Class optimization