add parser methods.