Honour the ignore setting.

Fixes #156.