Using GRIDTABLE_UNUSED() macro for unused parameters.
Some parameters were marked as unused, but they are used.