Move parsing procedure in separate module.