replace code wrapping with customizable parser entry points