Actually implemented the default processing function.