Moved Exclude class into separate file.