More work on checking for non used function parameters.