add work-init/work-finit impl in parser