Added filter functionalities.