DEV: Add derivative in argument of constructor so that we can change it easily