Using exclude package in a way to exclude class.