Added function to filter data send to the framework.