#249 refactored excludes method
Merge pull request #266 from krzyk/249

#266: pull request #249 refactored excludes method