Added method to register filters