Custom exclude logic

see discussion in #144