Added parameters to prot, fprot and funprot almost working.