Refactoring: Put common functionality in digital filter parent class.