Add ability to exclude translation code patterns