Added the rest of the addFilter API.