Added filter method.