Add more filter method beforeXXX for api.