Adding the filters for the API