update gitignore
Refactor attribute filter method signatures