Implement a RegisterFct in order to map non-object function into redis commands