Added parser interface.
refactory