remove parser context, closes #515