Refactor Filters using ActiveSupport.