Add excludes option

Hi there, i exposed the excludes option to the parser, but can't find a place to test it.
If you can give me a hint I'll make them and update the pull request