Add support for evaluating derivatives