Refactor ignore sources