Coding the consequences of #987:derivative functions cannot introduce sparsity